import config from 'config'
import httpFetch from 'share/httpFetch'
import errorMessage from "share/errorMessage";

export default {
  //获取列表数据
  getTableData(page) {
    return httpFetch.get(`${config.baseUrl}/api/purchase/order/info/list?page=${page}&size=10`)
      .catch(err => {
        errorMessage(err.response);
        throw(err)
      })
  },
}
